package com.huike.review.service;

import com.huike.common.core.domain.AjaxResult;
import com.huike.common.core.page.TableDataInfo;
import com.huike.review.pojo.Review;
import com.huike.review.vo.MybatisReviewVO;

import java.util.List;

/**
 * mybatis复习接口层
 */
public interface ReviewService {


    String saveDate(String name, int age, String sex);

    String remove(Long id);

    AjaxResult upDate(MybatisReviewVO reviewVO);

    AjaxResult getById(Long id);

    List<Review> getByPage();
}
